package cn.ciis.sys.loginlog;

import cn.ciis.basic.base.BaseService;
import com.jfinal.kit.Ret;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;

/** @author 冉志林 */
public class LoginLogAdminService extends BaseService {
  @Override
  public Model getDao() {
    return null;
  }

  public Ret clearLoginLog() {
    Db.delete("TRUNCATE sys_login_log");
    return Ret.ok("msg", "登陆日志清空成功");
  }
}
